/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo08_嵌套循环小练习 {
    public static void main(String[] args) {


        // 打印并换行
//        System.out.println("hello");
//        System.out.print("你好");

/*        System.out.print("a");
        System.out.print("a");
        System.out.print("a");

        System.out.println();

        System.out.print("a");
        System.out.print("a");
        System.out.print("a");

        System.out.println();

        System.out.print("a");
        System.out.print("a");
        System.out.print("a");*/


/*

        for (int j = 1; j <= 3; j++) {
            System.out.print("a");
        }

        System.out.println();

        for (int j = 1; j <= 3; j++) {
            System.out.print("a");
        }

        System.out.println();
        for (int j = 1; j <= 3; j++) {
            System.out.print("a");
        }*/


        // 控制行
        for (int i = 1; i <= 2; i++) {

            // 控制列
            for (int j = 1; j <= 40; j++) {
                System.out.print("a");
            }

            System.out.println();
        }


    }
}